<?php
/* @var $this DefaultController */

$this->breadcrumbs=array(
	$this->module->id,
);
?>
<?php foreach($postTypes as $type => $options) : ?>
<div class="box">
    <header>
        <div class="icons"><i class="icon-edit"></i></div>
        <h5><?php echo h($options['name']) ?></h5>
    </header>
    <div class="body">
        <a href="<?php echo url($this->module->id.'/post/index', array('post_type' => $type)) ?>">
            <i class='icon icon-tasks'></i> Manage
        </a>
        <a href="<?php echo url($this->module->id.'/post/index', array('post_type' => $type)) ?>">
            <i class='icon icon-tasks'></i> Add new
        </a>
    </div>
</div>

<?php endforeach; ?>
